package com.basics.common.utils;

import org.springframework.stereotype.Component;


/**
 * 字符串工具类
 */
@Component
public class SequenceTool {


    public static String nextId(){
        return SnowflakeIdGenUtil.snowflakeId()+"";
    }

    public static void main(String[] args) {
        System.out.println(nextId());
    }
}
